package com.chezhujie.www.domain;

import com.chezhujie.www.core.init.mysql.BaseEntity;
import com.chezhujie.www.core.init.mysql.annotation.Column;
import com.chezhujie.www.core.init.mysql.annotation.Entity;
import com.chezhujie.www.core.init.mysql.annotation.Id;
import com.chezhujie.www.core.init.mysql.annotation.Table;

/**
 * Created by 汤伟杰 on 2017/6/1.
 */
@Entity
@Table(name="czj_commodity3",describe = "首页3个商品表")
public class Czjcommodity3 extends BaseEntity{
    @Id
    @Column(length = 19,describe = "主键",inputType = "hidden")
    private String id;
    @Column(length = 1,describe = "顺序",inputType = "int")
    private Integer orderby;
    @Column(length = 19,describe = "商品",inputType = "select",inputCode = "str")
    private String commodityId;
    @Column(length = 255,describe = "商品图片",inputType = "file")
    private String picPath;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getOrderby() {
        return orderby;
    }

    public void setOrderby(Integer orderby) {
        this.orderby = orderby;
    }

    public String getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(String commodityId) {
        this.commodityId = commodityId;
    }

    public String getPicPath() {
        return picPath;
    }

    public void setPicPath(String picPath) {
        this.picPath = picPath;
    }
}
